//
// Decompiled by Jadx - 354ms
//
package me.plusne.Adapter.Login;

import android.app.Activity;
import android.widget.CompoundButton;
import fn.b;
import me.plusne.Adapter.Login.HookSetListAdapter;
import me.plusne.common.Json.Login.JsonLoginQuerySet;

public final class e implements CompoundButton.OnCheckedChangeListener {
    public final HookSetListAdapter.a a;
    public final JsonLoginQuerySet.SetBean b;
    public final HookSetListAdapter c;

    public e(HookSetListAdapter.a aVar, JsonLoginQuerySet.SetBean setBean, HookSetListAdapter hookSetListAdapter) {
        this.a = aVar;
        this.b = setBean;
        this.c = hookSetListAdapter;
    }

    @Override
    public final void onCheckedChanged(CompoundButton compoundButton, boolean z) {
        String key;
        Boolean bool;
        HookSetListAdapter.a aVar = this.a;
        aVar.getClass();
        Activity activity = this.c.c;
        JsonLoginQuerySet.SetBean setBean = this.b;
        if (HookSetListAdapter.a.j(setBean, activity)) {
            key = setBean.getKey();
            bool = Boolean.valueOf(z);
        } else {
            aVar.f.setChecked(false);
            key = setBean.getKey();
            bool = Boolean.FALSE;
        }
        b.l(bool, key);
        aVar.k(setBean);
    }
}
